$(document).ready(function () { $('.testimonialSlider').slick({ infinite: true, slidesToShow: 1, slidesToScroll: 1, arrows: true, dots: false, autoplay: true, speed: 600, autoplaySpeed: 3000, responsive: [{ breakpoint: 768, settings: { slidesToShow: 3 } }, { breakpoint: 600, settings: { slidesToShow: 2 } }, { breakpoint: 460, settings: { slidesToShow: 1 } } ] }); $(".customer-logos").slick({ slidesToShow: 5, slidesToScroll: 1, autoplay: true, autoplaySpeed: 1500, arrows: true, dots: false, pauseOnHover: false, responsive: [ { breakpoint: 768, settings: { slidesToShow: 4, }, }, { breakpoint: 520, settings: { slidesToShow: 3, }, }, ], }); $('.single_slk').slick({ draggable: true, arrows: true, dots: false, fade: true, speed: 900, infinite: true, cssEase: 'cubic-bezier(0.7, 0, 0.3, 1)', touchThreshold: 100, autoplay: true, autoplaySpeed: 3000, }); $('.caseSlider').slick({ draggable: true, arrows: true, dots: false, speed: 900, infinite: true, autoplay: true, autoplaySpeed: 4000, }); $('.testimonialsJq').slick({ draggable: true, arrows: false, dots: false, speed: 900, fade: true, infinite: true, autoplay: true, autoplaySpeed: 2000, }); $('.clientSlider').slick({ slidesToShow: 6, slidesToScroll: 1, arrows: false, autoplay: true, dots: false, autoplaySpeed: 1, speed: 5000, cssEase: 'linear', centerMode: true, centerPadding: '60px', pauseOnFocus: false, rows: 1, responsive: [ { breakpoint: 1024, settings: { slidesToShow: 5, slidesToScroll: 1, arrows: false, autoplay: true, dots: false, autoplaySpeed: 1, speed: 5000, cssEase: 'linear', centerMode: true, centerPadding: '60px', pauseOnFocus: false, rows: 1, } }, { breakpoint: 600, settings: { slidesToShow: 3, slidesToScroll: 1, arrows: false, autoplay: true, dots: false, autoplaySpeed: 1, speed: 5000, cssEase: 'linear', centerMode: true, centerPadding: '60px', pauseOnFocus: false, rows: 1, } }, { breakpoint: 480, settings: { slidesToShow: 2, slidesToScroll: 1, arrows: false, autoplay: true, dots: false, autoplaySpeed: 1, speed: 5000, cssEase: 'linear', centerMode: true, centerPadding: '60px', pauseOnFocus: false, rows: 1, } } ] }); }); $('.navbar-toggler').click(function () { $(this).toggleClass('active'); }); $('a.sccrol').on("click", function () { $('html, body').animate({ scrollTop: $(this.hash).offset().top - 77 }, 0); $(".navbar-collapse").collapse('hide'); $(".menu_layer_jq").hide(); $(".navbar-toggler").removeClass('active'); return false; }); $(window).scroll(function () { // this will work when your window scrolled. var height = $(window).scrollTop(); //getting the scrolling height of window if (height > 0) { $("header").addClass('header-fixed'); } else { $("header").removeClass('header-fixed'); } if (height > 600) { $('.scroll-top').addClass('show') } else { $('.scroll-top').removeClass('show') } });